package cn.dujc.superkid.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * @author du
 * date 2018/8/4 下午1:17
 */
public class CurrencyResult implements Parcelable{

    private String currency;//返回牛币余额

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    @Override
    public int describeContents() { return 0; }

    @Override
    public void writeToParcel(Parcel dest, int flags) {dest.writeString(this.currency);}

    public CurrencyResult() {}

    protected CurrencyResult(Parcel in) {this.currency = in.readString();}

    public static final Creator<CurrencyResult> CREATOR = new Creator<CurrencyResult>() {
        @Override
        public CurrencyResult createFromParcel(Parcel source) {return new CurrencyResult(source);}

        @Override
        public CurrencyResult[] newArray(int size) {return new CurrencyResult[size];}
    };
}
